home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / newsgroups / misc.19980424-19980901 / 000419_news@newsmaster….columbia.edu _Sun Aug 30 10:15:24 1998.msg < prev    next >
Internet Message Format  |  1998-08-31  |  3KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA15532
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Sun, 30 Aug 1998 10:15:22 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id KAA13671
  7.     for kermit.misc@watsun; Sun, 30 Aug 1998 10:15:21 -0400 (EDT)
  8. Path: news.columbia.edu!panix!news-peer.gip.net!news.gsl.net!gip.net!newshub.northeast.verio.net!newsserver.jvnc.net!post.servtech.com!hal9000.buf.servtech.com!spamguard!rchandra
  9. From: rchandra.spamguard@spamguard.letter.com
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: How to OUTPUT curly braces?
  12. Date: 30 Aug 1998 14:08:24 GMT
  13. Organization: Verio New York
  14. Lines: 42
  15. Message-ID: <6sbmco$5po$1@post.servtech.com>
  16. References: <lJ6E1.1079$B4.1278308@news.inreach.com> <6rsai6$n7e$1@apakabar.cc.columbia.edu>
  17. Reply-To: rchandra.spamguard@spamguard.letter.com
  18. NNTP-Posting-Host: hal9000.buf.servtech.com
  19. Originator: 0x804b6c0@0x804b560
  20. Xref: news.columbia.edu comp.protocols.kermit.misc:9149
  21.  
  22. In article <6rsai6$n7e$1@apakabar.cc.columbia.edu>,
  23. Frank da Cruz <fdc@watsun.cc.columbia.edu> wrote:
  24. >In article <lJ6E1.1079$B4.1278308@news.inreach.com>,
  25. >Dick Repasky <d_repasky@inreach.com> wrote:
  26. >: How do I send curly braces {} using the output command in IBM-PC
  27. >: MS-DOS kermit 3.14?  This is driving me crazy because I have a script that
  28. >: works fine in C-kermit but won't work in ms-dos kermit.
  29. >: 
  30. >Curly braces are special only when at the beginning and end of the OUTPUT
  31. >string:
  32. >
  33. >  OUTPUT {foo}    sends  foo
  34. >  OUTPUT {{foo}}  sends  {foo}
  35. >
  36. >As you have noticed, this is different from C-Kermit, which does not strip
  37. >braces from the OUTPUT string at all, and so in C-Kermit:
  38. >
  39. >  OUTPUT {foo}    sends  {foo}
  40. >  OUTPUT {{foo}}  sends  {{foo}}
  41. >
  42. >So yes, this is an inconsistency.
  43. >
  44. >When braces are other positions, the behavior is consistent:
  45. >
  46. >  OUTPUT foo{}bar sends  foo{}bar
  47. >
  48. >- Frank
  49.  
  50. I know this would require you to revise your existing scripts, but for
  51. portability, would it be possible to use \123 ( == "{" ) and
  52. \125 ( == "}" )?  It has the disadvantage of not being as
  53. straightforward, and it would therefore need comments to explain what
  54. they are (for well-written scripts, anyway).  Or you may need to use
  55. \{123} and \{125}, depending on context.
  56.  
  57. I can't run MSK, so I couldn't tell ya if it works...just a caveat
  58. emptor suggestion.
  59. -- 
  60. Oooooo-oooo-oooo-ooooo, Oooooo-oooo-oooo-ooooo, Ooooo-weem-oh-wum-ooo-ayyy
  61. In the jungle, the silicon jungle, the process sleeps tonight.
  62. Joe Philipps <rchandra-nospam@letter.com> http://www.servtech.com/~rchandra/
  63. You know what you have to do to send email to me successfully :^)